{include file="header.tpl" title="Them moi PAR_TF_PROC"}

<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="19%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  
	<tr>
	  <td colspan="4" nowrap="nowrap">&nbsp;</td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_GRPCODE}</td>
	  <td width="27%" align="left"><select id="GRPCODE" name="GRPCODE" size="1"  style="background:{$colorGRPCODE};" {if $activefield eq 'enabled'} disabled="disabled" {/if}>
        <option value=""></option>
	    
	    {foreach from=$cbo_GRPCODE key=k item=v}  
        
	    <option value="{$k}" {if $GRPCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
	    {/foreach}  
      
      </select>
      <span style="color:#FF0000">*
      <input id="replacement_find" type="submit" name="find" value="    "  height="15" {if $activefield eq 'enabled'} disabled="disabled" {/if}/>
      <input type="hidden" value="{$GRPCODE}" id="GRPCODEtmp" name="GRPCODEtmp" />
      </span></td>
	  <td width="20%" align="left">{$lbl_PRDCODE}</td>
	  <td width="34%" align="left"><span style="color:#FF0000">
	    <input name="PRDCODE" id="PRDCODE" type="text" style="background:{$colorPRDCODE};text-align:right" value="{$PRDCODE}" size="25" maxlength="2" {if $activefield eq 'enabled'} readonly="readonly" {/if}/>
	  *</span></td>
    </tr>
	
	<tr>
	  <td nowrap="nowrap">{$lbl_VNNAME}</td>
	  <td align="left"><input name="VNNAME" id="VNNAME" type="text" style="background:{$colorVNNAME}" value="{$VNNAME}" size="50" maxlength="50" /></td>
	  <td align="left">{$lbl_ENNAME}</td>
	  <td align="left"><input name="ENNAME" id="ENNAME" type="text" style="background:{$colorENNAME}" value="{$ENNAME}" size="50" maxlength="50" /></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_GLACCT1}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="GLACCT1" id="GLACCT1" type="text" style="background:{$colorGLACCT1};text-align:right" value="{$GLACCT1}" size="25" maxlength="20"onkeypress="return numberOnly(event);"/>
	  </span></td>
      <td align="left">{$lbl_GLACCT2}</td>
      <td align="left"><span style="color:#FF0000">
        <input name="GLACCT2" id="GLACCT2" type="text" style="background:{$colorGLACCT2};text-align:right" value="{$GLACCT2}" size="25" maxlength="20" onkeypress="return numberOnly(event);"/>
      </span></td>
	</tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_BLTYPE}</td>
	  <td align="left"><select id="BLTYPE" name="BLTYPE" size="1"  style="background:{$colorBLTYPE};" {if $activefield eq 'enabled'} disabled="disabled" {/if} >
        <option value=""
      ></option>
	    
	    {foreach from=$cbo_BLTYPE key=k item=v}  
      
	    <option value="{$k}" {if $BLTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
      
	    {/foreach}  
      
    
      </select>
      <span style="color:#FF0000">*
      <input type="hidden" value="{$BLTYPE}" id="BLTYPEtmp" name="BLTYPEtmp" />
      </span></td>
      <td nowrap="nowrap">{$lbl_ACCCODE}</td>
      <td align="left"><span style="color:#FF0000">
        <input name="ACCCODE" id="ACCCODE" type="text" style="background:{$colorACCCODE};text-align:right" value="{$ACCCODE}" size="25" maxlength="2 onkeypress="return numberOnly(event);"/>
      </span></td>
	</tr>
	
	
	
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td colspan="4" align="right"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'GRPCODE-PRDCODE-BLTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
    <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if} /></td>
</tr>
<tr>
<td colspan="4" align="right"><div align="left">
  <input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow=window.open('lich_su_par_tf_proc.php?GRPCODE={$GRPCODE}&amp;PRDCODE={$PRDCODE}&amp;BLTYPE={$BLTYPE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" />
</div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
